package com.bootdo.wx.dao;

import com.bootdo.wx.domain.MemberCouponDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 用户优惠券
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-06-13 15:54:40
 */
@Mapper
public interface MemberCouponDao {

	MemberCouponDO get(String id);
	
	List<MemberCouponDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(MemberCouponDO memberCoupon);
	
	int update(MemberCouponDO memberCoupon);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	List<Map<String,Object>> getMyCouponList(Map<String, Object> map);

	int updateCouponByTime(Map<String, Object> map);

}
